#include "weights.h"
/* class weights */

Weights::Weights(const Weights& c) :
	_fTop(c.getTop()), _fLeft(c.getLeft()), 
	_fObject(c.getObject()), _fBackground(c.getBackground()) {
	MAXVERBOSE("constructing copy weights");
}
Weights::Weights(float to, float le, float ob, float bg) :
	_fTop(to), _fLeft(le), _fObject(ob), _fBackground(bg) {

	MAXVERBOSE("constructing weights");
}
void	Weights::setTop					(float w) { _fTop					= w; }
void	Weights::setLeft				(float w) { _fLeft				= w; }
void	Weights::setObject			(float w) { _fObject			= w; }
void	Weights::setBackground	(float w) { _fBackground	= w; }
float	Weights::getTop					() const {	return _fTop; }
float	Weights::getLeft				() const {	return _fLeft; }
float	Weights::getObject			() const {	return _fObject; }
float	Weights::getBackground	() const {	return _fBackground; }

